<template>
    <div class="change-wrapper">
        <div class="title2">
            <span>收货地址管理</span>
            <a href="../addAddress/main">新增收货地址</a>
        </div>
        <div class="address">
            <checkbox-group class="checkbox-wrapper">
                <div class="checkbox">
                    <checkbox/>
                </div>
            </checkbox-group>
            <div class="img">
                <img src="/static/images/moren.png" alt="">
            </div>
            <div class="desc">
                <div class="box">
                    <span>收货人：</span>
                    <span>张三  156***9999</span>
                </div>
                <div class="box">
                    <span>收货地址：</span>
                    <span class="addre">山东省济南市济南市槐荫区腊山河西路100号</span>
                </div>
            </div>
            <a href="../editaddress/main" class="icon">
                <span class="iconfont">&#xe64d;</span>
            </a>
        </div>
        <div class="address">
            <checkbox-group class="checkbox-wrapper">
                <div class="checkbox">
                    <checkbox/>
                </div>
            </checkbox-group>
            <div class="desc">
                <div class="box">
                    <span>收货人：</span>
                    <span>张三  156***9999</span>
                </div>
                <div class="box">
                    <span>收货地址：</span>
                    <span class="addre">山东省济南市济南市槐荫区腊山河西路100号</span>
                </div>
            </div>
            <a href="../editaddress/main" class="icon">
                <span class="iconfont">&#xe64d;</span>
            </a>
        </div>
    </div>
</template>
<script>
export default {

}
</script>
<style lang="scss" scoped>
@import 'static/css/base.scss';
.title2{
    font-size: 32rpx;
    color: #333;
    display: flex;
    justify-content: space-between;
    padding: 0 30rpx;
    height: 110rpx;
    line-height: 110rpx;
    background: #fff;
    margin-bottom: 4rpx;
    a{
        color: #22ac38;
        font-size: 28rpx;
    }
}
.address{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 30rpx;
    border-top: 1rpx solid #f4f4f4;
    position: relative;
    .checkbox-wrapper{

    }
    .img{
        width: 76rpx;
        height: 76rpx;
        overflow: hidden;
        position: absolute;
        top: 0;
        right: 0;
        img{
            width: 100%;
            height: 100%;
        }
    }
    .desc{
        font-size: 26rpx;
        color:#666;
        .box{
            display: flex;
            align-items: center;
            span{
                line-height: 50rpx;
            }
            .addre{
                display: inline-block;
                padding: 0;
                margin: 0;
                line-height: none;
                width: 440rpx;
                @extend %text-limit;
            }
        }
    }
}
</style>
